package com.hmdp.utils;

/**
 * ClassName: ILock
 * Package: com.hmdp.utils
 * Description:
 *
 * @Author 看到风
 * @Create 2024/3/9 19:25
 * @Version 1.0
 */
public interface ILock {
    //尝试获取锁
    boolean tryLock (long timeoutSec);

    /*
    释放锁
     */
    void unlock();
}
